-
Notifications
You must be signed in to change notification settings - Fork 519
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
kmod-5.10-nvidia: add remaining libraries #1928
kmod-5.10-nvidia: add remaining libraries #1928
Conversation
# https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/user-guide.html#driver-capabilities | ||
|
||
# Utility libs | ||
install -m755 libnvidia-ml.so.%{nvidia_tesla_470_version} %{buildroot}%{_cross_libdir}/nvidia/tesla/%{nvidia_tesla_470_version} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
install -m755 libnvidia-ml.so.%{nvidia_tesla_470_version} %{buildroot}%{_cross_libdir}/nvidia/tesla/%{nvidia_tesla_470_version} | |
install -m 755 libnvidia-ml.so.%{nvidia_tesla_470_version} %{buildroot}%{_cross_libdir}/nvidia/tesla/%{nvidia_tesla_470_version} |
nit. You might want to add a space to be consistent with the preexisting code, but it seems to work either way.
5d36501
to
e327582
Compare
Forced push includes:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tested both aarch64 and x86_64 builds with benchmarks and samples and they pass.
e327582
to
bd02999
Compare
Forced push includes:
|
bd02999
to
d1213c8
Compare
Forced push includes:
|
Still trying to come up with better advice for what to include, since our current method seems pretty high touch and error prone. I'd like to err on the side of including everything and letting It seems like the only problem with that plan is what to do about the libEGL.so.1 symlink, which should point to one of the two libraries with that SONAME, and perhaps one of them should be excluded. |
Let's point If we could get the output from libnvidia-container when it's checking the compat libraries for inclusion, that might help determine whether either or both of them is OK. Or check how the other driver container images handle this. |
The NVIDIA sources provide user-space libraries that will be mounted into the containers, depending on the set of driver capabilities configured for the workload. Signed-off-by: Arnaldo Garcia Rincon <[email protected]>
d1213c8
to
68dbe7a
Compare
With these changes, I didn't see any complains:
|
Issue number:
Closes #1822
Description of changes:
The NVIDIA sources provide user-space libraries that will be mounted into the containers, depending on the set of driver capabilities configured for the workload.
Testing done:
I ran a daemonset in a
p3.2xlarge
instance with the following image definition:Entrypoint:
The containers ran successfully.
TODO:
Terms of contribution:
By submitting this pull request, I agree that this contribution is dual-licensed under the terms of both the Apache License, version 2.0, and the MIT license.